package com.xxxx.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.comment.entity.Follow;
import com.xxxx.comment.entity.dto.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface IFollowService extends IService<Follow> {

    Result follow(Long followUserId, Boolean isFollow);

    Result isFollow(Long followUserId);

    /**
     * 获取用户与当前登录用户的共同关注列表
     * @param userId 用户ID
     * @return 共同关注列表
     */
    Result commonFollow(Long userId);

}
